package icu.zqyhdm.blog.vo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 回复列表
 *
 * @author yezhiqiu
 * @date 2021/08/01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户评论下的回复")
public class ReplyVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 评论id
     */
    private Integer id;

    /**
     * 父评论id
     */
    private Integer parentCommentId;

    /**
     * 用户id
     */
    private Integer authorId;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户头像
     */
    private String img;

    /**
     * 被回复用户id
     */
    private Integer parentCommentUser;

    /**
     * 被回复用户昵称
     */
    private String replyNickName;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 点赞数
     */
    private Integer likeCount;

    /**
     * 评论时间
     */
    private String createTime;

}
